| Fully Qualified Name: | Zend\Filter\Boolean | 
| Extends: | AbstractFilter | 
| Name | Description | Defined By | 
|---|---|---|
| __construct() | Constructor | Boolean | 
| __invoke() | Invoke filter as a command | AbstractFilter | 
| filter() | Defined by Zend\Filter\FilterInterface | Boolean | 
| getCasting() | Returns the casting option | Boolean | 
| getOptions() | Retrieve options representing object state | AbstractFilter | 
| getTranslations() | Boolean | |
| getType() | Returns defined boolean types | Boolean | 
| hasPcreUnicodeSupport() | AbstractFilter | |
| setCasting() | Set the working mode | Boolean | 
| setOptions() | AbstractFilter | |
| setTranslations() | Boolean | |
| setType() | Set boolean types | Boolean | 
Constructor
| Parameter Name | Type | Description | 
|---|---|---|
| $typeOrOptions | array|\Traversable|int|null | |
| $casting | bool | |
| $translations | array | 
Returns:
Invoke filter as a command
Proxies to {@link filter()}
| Parameter Name | Type | Description | 
|---|---|---|
| $value | mixed | 
Returns: mixed
Defined by Zend\Filter\FilterInterface
Returns a boolean representation of $value
| Parameter Name | Type | Description | 
|---|---|---|
| $value | string | 
Returns: string
Returns the casting option
Returns: bool
Retrieve options representing object state
Returns: array
Returns: array
Returns defined boolean types
Returns: int
Returns: bool
Set the working mode
| Parameter Name | Type | Description | 
|---|---|---|
| $flag | bool | When | 
Returns: self
| Parameter Name | Type | Description | 
|---|---|---|
| $options | array|\Traversable | 
Returns: self
| Parameter Name | Type | Description | 
|---|---|---|
| $translations | array|\Traversable | 
Returns: self
Set boolean types
| Parameter Name | Type | Description | 
|---|---|---|
| $type | int|array | 
Returns: self